package com.user.domain.repository;

import com.user.domain.entity.User;

/**
 * @author 大忽悠
 * @create 2022/9/15 21:10
 */
public interface UserRepository {

    Integer registerUser(User user);

    void updateUserInfo(User user);

    void deleteUser(Integer id);

    User getUser(String username, String password);

    User getUser(String username);
}
